<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<% response.getWriter().print("<h1>" + "Hello World!!!" + "</h1>"); %>
<%!
int a = 1;
int b = 2;
	
%>
<%!
public String print() {
    String str = "itcast";
   	return str;
}
%>
<%
out.print(a+b);
%>
<br>
<%
out.print(print());
%>
<br>
<%= "dengyu" + a+b %>
<br>
<%= "hangshudengyu:" + print() %>
</body>
</html>